package vn.fpt.edu.heartrate.back.security.apis;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletResponse;

/**
 * Created by hiephn on 2014/04/13.
 */
@Service
@RequestMapping("/security")
public class SecurityApi {

    @ResponseBody
    @RequestMapping(method = RequestMethod.GET, produces = "text/plain")
    public String defaultPage() {

        return "Heart Rate Security";
    }
}
